package Ch10;

public abstract class Employee {

	protected String empno;
	protected String name;
	protected int pay;
	
	public abstract double getMonthPay();
	
	public String toString(){
		return empno + ":"+name+":"+pay;
	}
	
	public Employee(String empno, String name, int pay){
		this.empno = empno;
		this.name = name;
		this.pay = pay;
	}
	
}
